#ifndef GLOBALS_H
#define GLOBALS_H

#include "common.h"
#include "conf.h"
#include "thread.h"


/* global vars */
extern FILE *error_logp;
extern FILE *warn_logp;
extern FILE *debug_logp;
extern FILE *access_logp;
extern config_t *conf;
extern thread_t *threads;
extern int nworker;                         /* number of worker. Not include master thread */
extern struct event_base *master_base;
extern struct timeval current_time;
extern pthread_mutex_t cache_file_table_lock;
#endif
